Motion.GetAxisDigitalInput method

Gets the value of a digital input indicated by the index. It provides the value of the input (bool).

Namespace: IntervalZero.KINGSTAR.OpcUa.Api

Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0

Syntax

C#VB
public KsReturn<bool> GetAxisDigitalInput(
       int Index,
       int InputNumber
)
Public Function GetAxisDigitalInput(
       Index As Integer,
       InputNumber As Integer
) As KsReturn(Of Boolean)

Parameters

Index [in]

Type: int

The index of an input signal source (axis). Indexes are zero based. Aliases affect this parameter.

 

InputNumber [in]

Type: int

Selects an input. The range is 0-31.

Return value

Type: KsReturn<bool>

Returns a KsError code and a bool value.

Examples

C#
N/A

See also

Motion Class

IntervalZero.KINGSTAR.OpcUa.Api Namespace